package suery.syntax;

import java.util.*;

import suery.ComponentTreeNode;

/**
 * Token parser interface.
 * 
 * @author Jeky
 * 
 */
public interface TokenParser {
    /**
     * Parse the token queue.
     * 
     * @param tokenQueue token queue
     * @param parents list of parent nodes
     * @param results list of result nodes
     */
    void parse(Queue<String> tokenQueue,
            Set<ComponentTreeNode> parents,
            Set<ComponentTreeNode> results);
}
